package 作业;

public class 平均值 {
    public static void main(String[] args) {
        int[] arr = {120, 130, 110, 125, 128, 164};
        double sum = 0;
        for (int i = 0; i < arr.length; i++) {
            sum +=arr[i];
        }
        System.out.println(sum/arr.length);
    }
}
